package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportPurchaseDocDTO;
import com.hunttown.mes.rpc.domain.query.TransportPurchaseDocDTOQuery;

/**
 * created by wangjunfu on 2022-01-28 11:17:12
 */
public interface TransportPurchaseDocRpcService {

    TransportPurchaseDocDTO insert(TransportPurchaseDocDTO transportPurchaseDocDTO);

    Boolean updateInfoById(TransportPurchaseDocDTO transportPurchaseDocDTO);

    Boolean updateInfoByQuery(TransportPurchaseDocDTOQuery transportPurchaseDocDTOQuery);

    TransportPurchaseDocDTO selectById(Integer id);

    TransportPurchaseDocDTO selectObjByQuery(TransportPurchaseDocDTOQuery transportPurchaseDocDTOQuery);

    Page<TransportPurchaseDocDTO> getListForPage(TransportPurchaseDocDTOQuery transportPurchaseDocDTOQuery);

    Boolean deleteById(Integer id);
}